package com.intelligent.ispc.foundation.repository.jpa;

import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Peter on 15/11/16.
 */
public interface BaseRepository<T, ID extends Serializable> extends JpaRepository<T, ID> {

    List<Object> findAllWithCustomColumn(Specification spec);
}